package com.github.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @program: base
 * @description: 角色-权限 关联
 * @author: hui.zhang
 * @date: 2021/1/27 4:45 下午
 **/

@Data
@TableName("t_role_permission")
@EqualsAndHashCode(callSuper = true)
public class RolePermission extends Model<RolePermission> {

    /**
     * 角色id
     */
    private Long roleId;
    /**
     * 权限id
     */
    private Long permissionId;
}

